set php variabel use localstorage js in php codes

124

set php variabel use localstorage js in php codes -

<script type="text/javascript">
var abc= 'this is text';
<?php $abc = "<script>document.write(abc)</script>"?>   
</script>
<?php echo $abc;?>

Comments

Submit
0 Comments